package org.rendao.entity
{
	import com.googlecode.flexxb.xml.annotation.XmlArray;

	[Bindable]
	[XmlClass(alias = "user")]
	public class UserDetail
	{
		[XmlElement(alias = "id")]
		public var id:String;
		
		[XmlElement(alias = "username")]
		public var username:String;
		
		[XmlElement(alias = "displayName")]
		public var displayName:String;
		
		[XmlElement(alias = "password")]
		public var password:String;
		
		[XmlElement(alias = "isDeleted")]
		public var isDeleted:String = ConstantDefinition.IS_DELETED_FALSE;
		
		[XmlArray(alias = "roles", memberName = "role", type = "org.rendao.entity.UserRole")]
		[ArrayElementType("org.rendao.entity.UserRole")]
		public var roles:Array;
	}
}